package com.bothin.experiment4.enums;

import lombok.Getter;

/**
 * Created by bothin
 * At 2019/12/16 19:17
 * Description:
 */
@Getter
public enum EmployeeEnum {
    SALESMAN(0,"USER_SALESMAN"),
    STOCKMAN(1,"USER_STOCKMAN"),
    ADMIN(2,"USER_ADMIN")
    ;
    private Integer code;
    private String name;

    EmployeeEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }
}
